package com.czp.log.mapper.impl;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.czp.framework.mapper.BaseMapperSupport;
import com.czp.log.mapper.ILogMapper;
import com.czp.log.model.Log;

/**
 * 【环 境】：J2SE 1.7
 * @author   柴志鹏	CHAIZP@GMAIL.COM
 * @version  version 1.0
 * @since    2014-9-10
 */
public class LogMapperImpl extends BaseMapperSupport implements ILogMapper {
	
	public List<Log> queryLogInfoList(Log log, RowBounds rb) throws Exception {
		return this.getSqlSession().selectList(
				"com.czp.log.mapper.ILogMapper.queryLogInfoList", log, rb);
	}

	public int queryLogInfoCount(Log log) throws Exception {
		return this.getSqlSession().selectOne(
				"com.czp.log.mapper.ILogMapper.queryLogInfoCount", log);
	}
	
}
